package beautiful.butterfly.distributed_task_processing_engine.tools;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormats
{
    static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static String transferDataToString(Date date)
    {
        return simpleDateFormat.format(date);
    }
}
